#include <SoftPWM.h> //https://code.google.com/p/rogue-code/downloads/list?q=label:Project-SoftPWM

int led [8] = {
  6, 7, 8, 9, 10, 11, 12, 13}; //Angeschlossene LED Ausgänge

void setup() {  
  Serial.begin(9600);  
  SoftPWMBegin();

  for (int i = 0; i <= 7; i++) { 
    pinMode(led[i], OUTPUT);   
  }

  for (int i = 0; i <= 7; i++) {  
    SoftPWMSet(led[i], 0);
    SoftPWMSetFadeTime(led[i], 500, 500);
  }
}

void loop() {
  for (int i = 0; i <= 7; i++) {
    SoftPWMSet(led[i], 255);
    delay(500);
    SoftPWMSet(led[i], 0);
  }

}






















